﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Task1
{
    public static class WorkWithDataSet
    {

        public static List<int> FindMargin(MyDataSet dSet)
        {
            throw new NotImplementedException();
            /*var res1 = dSet.Product.Rows.Cast<MyDataSet.ProductRow>().Where(r => r.Num == 152);
            var res2 = dSet.Product.Rows.Cast<MyDataSet.ProductRow>().Where(r => r.Num == 146);

             foreach (var r1 in res1)
             {
                 foreach (var r2 in res2)
                 {
                     if ((r1.Item == r2.Item) && (r1.Count == r2.Count))
                     {
                         r1.Item = r1.Item + "EQ";
                         r2.Item = r2.Item + "EQ";
                     }
                 }
             }*/
        }
    }
}
